home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
c
/
mig
/
RCS
/
Mig_Done.c,v
< prev
next >
Wrap
Text File
|
1990-06-22
|
3KB
|
122 lines
head 2.1;
branch ;
access ;
symbols no-auto-remigrate:2.1 installed:2.0;
locks ; strict;
comment @ * @;
2.1
date 90.06.22.14.58.19; author douglis; state Exp;
branches ;
next 2.0;
2.0
date 90.03.10.13.12.40; author douglis; state Stable;
branches ;
next 1.1;
1.1
date 90.02.16.14.28.07; author douglis; state Exp;
branches ;
next ;
desc
@Source code for the Mig_Done procedure, which is a backward-compatible
interface to the migration daemon.
@
2.1
log
@changes for alarms for timeouts with migd and for printing to stderr instead of syslog
@
text
@/*
* Mig_Done.c --
*
* Source code for the Mig_Done procedure, which is a backward-compatible
* interface to the migration daemon.
*
* Copyright 1990 Regents of the University of California
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies. The University of California
* makes no representations about the suitability of this
* software for any purpose. It is provided "as is" without
* express or implied warranty.
*/
#ifndef lint
static char rcsid[] = "$Header: /sprite/src/lib/c/mig/RCS/Mig_Done.c,v 2.0 90/03/10 13:12:40 douglis Stable Locker: douglis $ SPRITE (Berkeley)";
#endif not lint
#include <sprite.h>
#include <mig.h>
#include <host.h>
#include <errno.h>
#include <stdio.h>
extern int errno;
extern char *strerror();
extern char *malloc();
/*
*----------------------------------------------------------------------
*
* Mig_Done --
*
* Record that a migrated process has finished running on a particular
* host.
*
* Results:
* A non-zero status indicates an error, in which case errno reflects
* the error from the migration daemon.
*
* Side effects:
* None.
*
*----------------------------------------------------------------------
*/
int
Mig_Done(hostID)
int hostID; /* Host to return. */
{
int hostArray[1];
hostArray[0] = hostID;
return(Mig_ReturnHosts(1, hostArray));
}
@
2.0
log
@Changing version numbers.
@
text
@d18 1
a18 1
static char rcsid[] = "$Header: /sprite/src/lib/c/mig/RCS/Mig_Done.c,v 1.1 90/02/16 14:28:07 douglis Exp Locker: douglis $ SPRITE (Berkeley)";
a23 1
#include <syslog.h>
@
1.1
log
@Initial revision
@
text
@d18 1
a18 1
static char rcsid[] = "$Header: /user2/douglis/pdev_mig/test/RCS/Mig_Done.c,v 1.1 90/02/01 18:48:34 douglis Exp Locker: douglis $ SPRITE (Berkeley)";
@